'\" t
.TH "SYSTEMD\-HIBERNATE\-RESUME\-GENERATOR" "8" "" "systemd 257" "systemd-hibernate-resume-generator"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
systemd-hibernate-resume-generator \- Unit generator for resume= kernel parameter
.SH "SYNOPSIS"
.PP
/usr/lib/systemd/system\-generators/systemd\-hibernate\-resume\-generator
.SH "DESCRIPTION"
.PP
\fBsystemd\-hibernate\-resume\-generator\fR
is a generator that initiates the procedure to resume the system from hibernation\&. When
\fBresume=\fR
kernel command line option or
\fIHibernateLocation\fR
EFI variable is detected, it enables the
\fBsystemd-hibernate-resume.service\fR(8)
unit, which will instruct the kernel to resume the system from the hibernation image\&.
.SH "KERNEL COMMAND LINE"
.PP
systemd\-hibernate\-resume\-generator
understands the following kernel command line parameters:
.PP
\fIresume=\fR
.RS 4
Takes a path to the resume device\&. Both persistent block device paths like
/dev/disk/by\-foo/bar
and
\fBfstab\fR(5)\-style specifiers like
"FOO=bar"
are supported\&.
.sp
Added in version 217\&.
.RE
.PP
\fIresume_offset=\fR
.RS 4
Takes the page offset of the swap space from the resume device\&. Defaults to
"0"\&.
.sp
Added in version 254\&.
.RE
.PP
\fIresumeflags=\fR
.RS 4
Takes the resume device mount options to use\&. Defaults
\fIrootflags=\fR
if not specified\&.
.sp
Added in version 243\&.
.RE
.PP
\fInoresume\fR
.RS 4
Do not try to resume from hibernation\&. If this parameter is present,
\fIresume=\fR
is ignored\&.
.sp
Added in version 240\&.
.RE
.SH "SEE ALSO"
.PP
\fBsystemd\fR(1), \fBsystemd-hibernate-resume.service\fR(8), \fBkernel-command-line\fR(7)
